package com.nativetalk.dao;

import com.nativetalk.bean.live.TdNtLiveCourseDetail;
import com.nativetalk.bean.live.TdNtLiveCourseInsert;
import com.nativetalk.bean.live.TdNtLiveCourseList;

import java.util.List;
import java.util.Map;

/**
 * Created by lizhun on 16/5/11.
 */
@MyBatisRepository
public interface TdNtLiveCourseDao {
    /**
     * @Purpose  添加直播课程
     * @version  2.1
     * @author   lizhun
     * @param    tdNtLiveCourseInsert
     * @return   void
     */
    public void insertTdNtLiveCourse(TdNtLiveCourseInsert tdNtLiveCourseInsert);
    /**
     * @Purpose  查找教师直播课程
     * @version  2.1
     * @author   lizhun
     * @param    map
     * @return   List<TdNtLiveCourseList>
     */
    public List<TdNtLiveCourseList> findTdNtLiveCourseList(Map<String, Object> map);
    /**
     * @Purpose  查找教师直播课程 数量
     * @version  2.1
     * @author   lizhun
     * @param    map
     * @return   Integer
     */
    public Integer findTdNtLiveCourseListSize(Map<String, Object> map);
    /**
     * @Purpose  更新直播课程
     * @version  2.1
     * @author   lizhun
     * @param    tdNtLiveCourseInsert
     * @return   void
     */
    public void updateTdNtLiveCourse(TdNtLiveCourseInsert tdNtLiveCourseInsert);
    /**
     * @Purpose  根据直播课程id查找直播课程
     * @version  2.1
     * @author   lizhun
     * @param    live_cou_id
     * @return   TdNtLiveCourseDetail
     */
    public TdNtLiveCourseDetail findTdNtLiveCourseDetail(int  live_cou_id);

}
